﻿namespace Cos.Module.Form.NHibernate.Test
{
    using Cos.Core.NHibernate.Mapping;

    using FluentNHibernate;

    public class TestModel : PersistenceModel
    {
        public TestModel()
        {
            this.AddMappingsFromAssembly(typeof(FormMap).Assembly);
            this.AddMappingsFromAssembly(typeof(FormCultureMap).Assembly);
            this.AddMappingsFromAssembly(typeof(FormPageMap).Assembly);
            this.AddMappingsFromAssembly(typeof(FormPageCultureMap).Assembly);
            this.AddMappingsFromAssembly(typeof(FormElementMap).Assembly);
            this.AddMappingsFromAssembly(typeof(FormElementCultureMap).Assembly);
            this.AddMappingsFromAssembly(typeof(FormElementChoiceMap).Assembly);
            this.AddMappingsFromAssembly(typeof(FormElementChoiceCultureMap).Assembly);
        }
    }
}
